<h3><?php echo $message; ?></h3>
<?php echo __('by ${msg_author} to ${plate}', array(
      '${msg_author}' => link_to2($message->Profile, 'list_by_driver', array('id' => $message->Profile->url_name)),
      '${plate}' => link_to2($message->recipient_plate, 'list_by_plate', array('id' => $message->recipient_plate))
)); ?>

<h4><?php echo __('message comments'); ?></h4>

<?php echo link_to_function(__('post new comment'), "$(this).hide().next('form').show();"); ?>
<form action="<?php echo url_for2('comment_on_msg'); ?>" method="post" style="display:none;">

  <textarea name="comment"></textarea>

  <div>
    <input type="submit" value="<?php echo __('Send comment'); ?>" />
  </div>

</form>

<ul>
<?php foreach ($message->Comments as $comment): ?>
  <?php include_partial('board/comment', array('comment' => $comment)); ?>
<?php endforeach; ?>
</ul>